package com.fengwuj.tkmybatisdemo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class DiyWwap {
    private Integer a;
    private Integer b;

    public static void swap(DiyWwap sw) {
        Integer temp = sw.getA();
        sw.setA(sw.getB());
        sw.setB(temp);
    }
}
